package com.xncoding.design.proAcus.demo2;

public class main {
	public static void main(String[] args) {
		javaObservable observale = new javaObservable();
		
		javaObserver observer = new javaObserver();
		javaObserver1 observer1 = new javaObserver1();
		javaObserver2 observer2 = new javaObserver2();
		
		observale.addObserver(observer);
		observale.addObserver(observer1);
		observale.addObserver(observer2);
		
		observale.dataChange("qwe");
	}
}
